JavaScript

{dialog.object}loadDataFromRepository Method

Syntax

{dialog.object}.loadDataFromRepository(key [, flagDelete]);

Arguments

keystring

The saved data in the application repository to be loaded.

flagDeletestring

Default = false. A true or false value. Specifies whether or not the data should be deleted from the application repository after it is retrieved. If true, data will be deleted. If false, data will not be deleted.

Description

Loads data that was previously saved to the Repository.

Discussion

The component is populated with the data that was saved to the application repository. (The Repository Settings are configured in Web Project Properties).

The afterLoadFromRepository client-side event fires after the event has completed.

If the optional flagDelete parameter is true, then the Repository entry is deleted after it has been read.

{dialog.object}.loadDataFromRepository('mykeyvalue');

See Also